package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.battle.pojo.enums.UnmountTypeEnum;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import java.time.LocalDateTime;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/8/22 14:33
 */
@Data
@TableName(value = "UNMOUNT",autoResultMap = true)
@Entity(name = "UNMOUNT")
@AccEntity(value = "战例上下架操作", type = EntityType.SERVICE_ENTITY)
public class Unmount extends DomainBaseEntity<Unmount> {
    /**
     * 战例id
     */
    @Column()
    private Long caseId;

    /**
     * 操作人
     */
    @Column()
    private Long operationUserId;

    /**
     * 操作人日期
     */
    @Column()
    private LocalDateTime operationDate;

    /**
     * 操作类型
     */
    private UnmountTypeEnum type;

    /**
     * 操作备注
     */
    private String remark;
}
